/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import { GeometryTransitionView } from '@hadss/react_native_geometry_transition';
import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { KnockShare } from '@hadss/react_native_knock_share';
import KnockSharePageRender  from './Main'

const KnockSharePage = (): JSX.Element => {
  return (
    <View style={styles.container}>
      {/* <GeometryTransitionView style={styles.geometryTransitionView} geometryViewID={'test'} pageType={'target'}> */}
      {/* <Text>碰一碰分享</Text> */}
      {/* </GeometryTransitionView> */}
      {KnockSharePageRender()}
    </View>
  );
};

export default KnockSharePage;

const styles = StyleSheet.create({
  container: {
    justifyContent: 'center',
    alignItems: 'center',
    width: '100%',
    height: '100%',
    backgroundColor: 'rgb(241, 243, 245)',
    paddingHorizontal: 16
  },
  geometryTransitionView: {
    marginVertical: 10,
    height: 200,
    width: 300,
  },
});
